package com.ddwl.schema.vo.goods;

import com.ddwl.schema.vo.dist.GoodsProfitVo;
import com.ddwl.schema.vo.order.SeckillItemVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

@ApiModel(value = "商品详情Vo")
@Setter
@Getter
public class ItemDetailVo {
    @ApiModelProperty("ID")
    private String id;
    @ApiModelProperty("商品名称")
    private String itemName;
    //    @ApiModelProperty("品牌ID")
//    private String brandId;
//    @ApiModelProperty("品牌")
//    private BrandVo brand;
//    @ApiModelProperty("商户ID")
//    private String mchId;
//    @ApiModelProperty("商户名称")
//    private String mchName;
    @ApiModelProperty("门店ID")
    private String shopId;
//    @ApiModelProperty("门店名称")
//    private String shopName;
    @ApiModelProperty("零售价")
    private BigDecimal retailPrice;
    @ApiModelProperty("原价/津贴价")
    private BigDecimal originPrice;
    @ApiModelProperty("商品描述")
    private String itemDesc;
    @ApiModelProperty("商品状态 0下架 1上架")
    private Integer itemStatus;
    @ApiModelProperty("活动标识(0:预约购 1满减购)")
    private String activitySgin;
    //    @ApiModelProperty("商品编码")
//    private String itemCode;
    @ApiModelProperty("商品条码")
    private String barcode;
    @ApiModelProperty("商品图片")
    private List<ItemMediaVo> medias;
    @ApiModelProperty("是否收藏 0否 1是")
    private Integer collect;
    @ApiModelProperty("子商品列表")
    private List<SkuVo> skus;
    @ApiModelProperty("秒杀商品列表")
    private List<SeckillItemVo> SeckillItemVos;
    @ApiModelProperty("分类id")
    private String categoryId;
    @ApiModelProperty("推荐")
    private Boolean recommend;
    @ApiModelProperty("销量")
    private Integer sales;
    @ApiModelProperty("评分")
    private Float star;
    @ApiModelProperty("虚拟销量")
    private Integer falseSales;
    @ApiModelProperty("预约购商品信息")
    private ReserveVo reserveVo;
    @ApiModelProperty("满减商品信息")
    private DiscountVo discountVo;
    @ApiModelProperty("属性列表")
    private String attributeList;
    @ApiModelProperty("商品分销分润信息")
    private GoodsProfitVo goodsProfitVo;
    @ApiModelProperty("商品排序")
    private Integer itemSort;
    @ApiModelProperty("商品预估佣金")
    private BigDecimal itemCommission;
    @ApiModelProperty("供应商id")
    private String supplierId;
    @ApiModelProperty("总销量")
    private Integer sumSales;
    @ApiModelProperty("参数详情")
    private String paramDetail;

    @ApiModelProperty("搜索关键字")
    private String keywords;
    @ApiModelProperty("规格类型 0：单规格，1：多规格")
    private Integer skuType;
    @ApiModelProperty("下架原因（公司运营后台下架时需要）")
    private String shelfReason;

    @ApiModelProperty("商品标签名称列表")
    private List<String> itemSgins;

    @ApiModelProperty("标签列表")
    private List<ItemTagVo> itemTagList;

    @ApiModelProperty("打折商品信息")
    private DiscountItemVo discountItemVo;

    /**
     * 活动商品sku
     */
    @ApiModelProperty(value = "活动商品sku")
    private ShoppingCarDiscountSkuVo shoppingCarSkuVo;

    @ApiModelProperty("是否打折，0否 1是")
    private Integer discountFlag;

    @ApiModelProperty("是否限时购，0否 1是")
    private Integer limitTimeFlag;
    @ApiModelProperty("限时购")
    private LimitTimePurGoodVo limitTimePurGoodVo;

    @ApiModelProperty("是否限购，0否 1是")
    private Integer limitFlag;

    @ApiModelProperty("限购数量")
    private Integer limitQuantity;

    @ApiModelProperty("是否可代理 0否 1是")
    private Integer agentFlag;
    @ApiModelProperty("小程序码")
    private String wxaCode;
    @ApiModelProperty("是否公益商品 0否 1是")
    private Integer charityFlag;

}
